package com.yhn.hxds.dr.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**注册新用司机请求
 * @author yhn
 * @version 1.0
 * @description
 * @date 2024/9/16 9:39
 */
@Data
@Schema(description = "注册新用司机请求")
public class RegisterNewDriverReqDTO {
    @Schema(description = "微信小程序临时授权")
    @NotBlank(message = "微信小程序临时授权不能为空")
    private String code;

    @Schema(description = "用户昵称")
    @NotBlank(message = "nickname不能为空")
    private String nickname;

    @Schema(description = "用户头像")
    @NotBlank(message = "photo不能为空")
    private String photo;
}
